﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BRMC.IntelligentCommunity.IntelligentCommunity.Parkings
{
 public   class Place : FullAuditedEntity<long>, IMustHaveTenant
    {
        /// <summary>
        /// 车场Id
        /// </summary>
        public long ParkingId { set; get; }
        /// <summary>
        /// 车场名称
        /// </summary>
        public string ParkingName { get; set; }
        /// <summary>
        /// 车场编号
        /// </summary>
        public string ParkingCode { set; get; }
        /// <summary>
        /// 车位编号
        /// </summary>
        public string PlaceNo { set; get; }
        /// <summary>
        /// 车位名称
        /// </summary>
        public string PlaceName { get; set; }

        /// <summary>
        /// 车位状态0未停,1已停
        /// </summary>

        public int PlaceSatus { get; set; }
        /// <summary>
        /// 当前车位停的车辆
        /// </summary>
        public long? FirstCarId { get; set; }
        /// <summary>
        /// 所有停入该车位的车辆
        /// </summary>
        public string Cars { set; get; }
        /// 备注
        /// </summary>
        public string Remark { set; get; }

    
        /// <summary>
        /// 公司ID
        /// </summary>
        public int TenantId { get; set; }
        /// <summary>
        /// 小区Id
        /// </summary>
        public long  Neighbourhood_id { get; set; }
        /// <summary>
        /// 小区名称
        /// </summary>
        public string Neighbourhood_name { get; set; }
        /// <summary>
        /// 是否出租或出售 0未出租 1已出租
        /// </summary>
        public int IsRent { set; get; }


        /// <summary>
        /// 截止时间
        /// </summary>

        public DateTime? EndTime { set; get; }
    }
}
